package com.tarena.lbs.content.dao.repository;

import org.springframework.stereotype.Repository;

import java.util.Map;


public interface ActionRepository {
    void saveFieldToArticle(Integer userId,String field,Integer value);
    void saveAllFieldsToArticle(Integer userId, Map<String, Integer> fields);
    Integer getFieldFromArticle(Integer userId, String field);
    Map<String,Integer> getAllFieldsFromArticle(Integer userId);
}
